package com.ruoyi.system.domain.Pull;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.system.domain.HUAWEI.TBtpMtlCurriculumViateTiDTO;
import com.ruoyi.system.domain.WMS.MaterialFeedbackDTO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import com.ruoyi.common.annotation.Excel;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.io.Serializable;
import java.util.Date;
import java.math.BigDecimal;
import com.ruoyi.common.core.domain.BaseEntity;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 补料记录对象 material_plug
 *
 * @author ruoyi
 * @date 2023-03-06
 */
@Data
@ToString
@EqualsAndHashCode
@NoArgsConstructor
@Accessors(chain = true)
@TableName("material_plug")
public class MaterialPlug implements Serializable {

private static final long serialVersionUID=1L;


        /** 补料记录主键id */
        @TableId(value = "plug_id")
        @ApiModelProperty(value = "补料记录主键id")
    private Long plugId;

        /** 补料单号 */
        @Excel(name = "补料单号")
        @ApiModelProperty(value = "补料单号")
    private String plugNumbers;

    /** 物料主数据id */
    @TableId(value = "data_id")
    @ApiModelProperty(value = "物料主数据id")
    private Long dataId;

        /** 物料编码 */
        @Excel(name = "物料编码")
        @ApiModelProperty(value = "物料编码")
    private String materialCode;

        /** 物料名称 */
        @Excel(name = "物料名称")
        @ApiModelProperty(value = "物料名称")
    private String materialName;

    @ApiModelProperty(value = "物料类型")
    private String materialType;

        /** 产线名称 */
        @Excel(name = "产线名称")
        @ApiModelProperty(value = "产线名称")
    private String lineName;


    @ApiModelProperty(value = "产线编码")
    private String lineCode;

        /** 工位名称 */
        @Excel(name = "工位名称")
        @ApiModelProperty(value = "工位名称")
    private String stationName;

    @ApiModelProperty(value = "工位编码")
    private String stationCode;

        /** 部门名称 */
        @Excel(name = "部门名称")
        @ApiModelProperty(value = "部门名称")
    private String deptName;

    /** 部门id */
    @Excel(name = "部门id")
    @ApiModelProperty(value = "部门id")
    private Long deptId;

        /** 工单编码 */
        @Excel(name = "工单编码")
        @ApiModelProperty(value = "工单编码")
    private String orderCode;

        /** 华为任务令 */
        @Excel(name = "华为任务令")
        @ApiModelProperty(value = "华为任务令")
    private String taskTon;

        /** 产品编码 */
        @Excel(name = "产品编码")
        @ApiModelProperty(value = "产品编码")
    private String productCode;

        /** 产品名称 */
        @Excel(name = "产品名称")
        @ApiModelProperty(value = "产品名称")
    private String productName;

        /** 状态 */
        @Excel(name = "状态")
        @ApiModelProperty(value = "状态 0未下发 1已下发")
    private Integer status;

        /** 单位 */
        @Excel(name = "单位")
        @ApiModelProperty(value = "单位")
    private String unit;

        /** 标包数量 */
        @Excel(name = "标包数量")
        @ApiModelProperty(value = "标包数量")
    private Integer standardNumber;

    @ApiModelProperty(value = "补料数量")
    private Double plugNumber;

        /** 仓库发出数量 */
        @Excel(name = "仓库发出数量")
        @ApiModelProperty(value = "仓库发出数量")
    private Integer issueNumber;

        /** 产线接收数量 */
        @Excel(name = "产线接收数量")
        @ApiModelProperty(value = "产线接收数量")
    private Integer lineRecNumber;

    /** 物料SN */
    @Excel(name = "物料SN")
    @ApiModelProperty(value = "物料SN")
    private String sn;

    /** 物料psn */
    @Excel(name = "物料psn")
    @ApiModelProperty(value = "物料psn")
    private String psn;

    /** 物料条码 */
    @Excel(name = "物料条码")
    @ApiModelProperty(value = "物料条码")
    private String barCode;

    /** 供应商编码 */
    @Excel(name = "供应商编码")
    @ApiModelProperty(value = "供应商编码")
    private String supplierCode;

    /** 供应商名称 */
    @Excel(name = "供应商名称")
    @ApiModelProperty(value = "供应商名称")
    private String supplierName;


        /** createBy */
        private String createBy;

        /** createTime */
        @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
        @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
        private Date createTime;

        /** updateBy */
        private String updateBy;

        /** updateTime */
        @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
        @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
        private Date updateTime;



    public MaterialPlug(TBtpMtlCurriculumViateTiDTO dto){

    }
}
